//
//  NWDiscoverTableViewController.swift
//  Weibo
//
//  Created by Northwan on 16/1/19.
//  Copyright © 2016年 Northwan. All rights reserved.
//

import UIKit

class NWDiscoverTableViewController: NWVisitorTableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        if userlogon {
            setupUI()
        }else{
     visitorView .setupVisitorInfo(imgName:"visitordiscover_image_message", message: "登录后，你的微博、相册、个人资料会显示在这里，展示给别人")
        }
        
        
    }
    
    func setupUI(){
        let titleView = NWDiscoverSearchView.searchView();
        titleView.frame = CGRect(x: 0, y: 0, width: UIScreen.mainScreen().bounds.width, height: 35)
        self.navigationItem.titleView = titleView
    
    }
}
